home *** CD-ROM | disk | FTP | other *** search
-
-
-
- VVVVkkkkDDDDoooouuuubbbblllleeeeBBBBuuuuffffffffeeeerrrr((((3333xxxx)))) VVVVkkkkDDDDoooouuuubbbblllleeeeBBBBuuuuffffffffeeeerrrr((((3333xxxx))))
-
-
-
- NNNNAAAAMMMMEEEE
- VkDoubleBuffer - Abstract class supports classes that draw double-
- buffered graphics
-
- IIIINNNNHHHHEEEERRRRIIIITTTTSSSS FFFFRRRROOOOMMMM
- VkComponent : VkCallbackObject
-
- HHHHEEEEAAAADDDDEEEERRRR FFFFIIIILLLLEEEE
- #include <Vk/VkDoubleBuffer.h>
-
- PPPPUUUUBBBBLLLLIIIICCCC PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLL SSSSUUUUMMMMMMMMAAAARRRRYYYY
- CCCCoooonnnnssssttttrrrruuuuccccttttoooorrrr////DDDDeeeessssttttrrrruuuuccccttttoooorrrr
- VkDoubleBuffer(const char* name, Widget parent);
- virtual void ~VkDoubleBuffer(void);
-
-
- SSSSwwwwiiiittttcccchhhhiiiinnnngggg BBBBuuuuffffffffeeeerrrrssss
- virtual void update(void);
-
-
- PPPPRRRROOOOTTTTEEEECCCCTTTTEEEEDDDD PPPPRRRROOOOTTTTOOOOCCCCOOOOLLLL SSSSUUUUMMMMMMMMAAAARRRRYYYY
- RRRReeeessssiiiizzzziiiinnnngggg aaaannnndddd RRRReeeeffffrrrreeeesssshhhhiiiinnnngggg tttthhhheeee CCCCaaaannnnvvvvaaaassss
- virtual void resize(void);
- virtual void draw(void) = 0;
-
-
- PPPPrrrrooootttteeeecccctttteeeedddd DDDDaaaattttaaaa MMMMeeeemmmmbbbbeeeerrrrssss
- Pixmap _canvas;
-
-
- Dimension _width;
-
-
- Dimension _height;
-
-
- CCCCLLLLAAAASSSSSSSS DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- This class provides support for classes that need to display double
- buffered graphics. The public interface allows applications to
- drive animations by calling the _u_p_d_a_t_e() member function at the
- desired interval. The VkDoubleBuffer class calls derived classes'
- _d_r_a_w() member function when the derived class needs to draw a new
- frame. Derived classes do not need to worry about handling window
- damage, as the VkDoubleBuffer class takes care of this
- automatically.
-
-
-
- DDDDEEEERRRRIIIIVVVVIIIINNNNGGGG SSSSUUUUBBBBCCCCLLLLAAAASSSSSSSSEEEESSSS
- Derived classes must define the draw member function. This member
- function is expected to display some Xlib text or Xlib graphics by
- drawing to the _canvas member, which is a Drawable. The derived
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- VVVVkkkkDDDDoooouuuubbbblllleeeeBBBBuuuuffffffffeeeerrrr((((3333xxxx)))) VVVVkkkkDDDDoooouuuubbbblllleeeeBBBBuuuuffffffffeeeerrrr((((3333xxxx))))
-
-
-
- class is always drawing to the back buffer, although derived classes
- do not need to be aware of this.
-
- Derived classes that need to know when the window has been resized
- can override the virtual function _r_e_s_i_z_e() to be notified.
-
-
-
- FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
- rrrreeeessssiiiizzzzeeee(((())))
- virtual void resize(void);
-
-
- Called when the object's drawable area changes size. The new size
- can be accessed in the __w_i_d_t_h and __h_e_i_g_h_t members.
-
- ddddrrrraaaawwww(((())))
- virtual void draw(void) = 0;
-
-
- This pure virtual function must be defined by derived classes. The
- function is expected to use Xlib calls to display graphics in the
- __c_a_n_v_a_s Drawable.
-
- VVVVkkkkDDDDoooouuuubbbblllleeeeBBBBuuuuffffffffeeeerrrr(((())))
- VkDoubleBuffer(const char* name, Widget parent);
-
-
- Initialize the VkDoubleBuffer class and create various widgets and
- Pixmaps used to support the double buffering.
-
- ~~~~VVVVkkkkDDDDoooouuuubbbblllleeeeBBBBuuuuffffffffeeeerrrr(((())))
- virtual void ~VkDoubleBuffer(void);
-
-
- Destroys the pixmaps and graphics contexts used by this class.
-
- uuuuppppddddaaaatttteeee(((())))
- virtual void update(void);
-
-
- Displays the current back buffer of the double-buffered display and
- requests the derived class to redraw a new back buffer.
-
- DDDDAAAATTTTAAAA MMMMEEEEMMMMBBBBEEEERRRR DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNNSSSS
- ____ccccaaaannnnvvvvaaaassss
- Pixmap _canvas;
-
-
- Derived classes always draw to this Drawable. The VkDoubleBuffer
- class copies the contents of this Pixmap as needed.
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-
-
-
- VVVVkkkkDDDDoooouuuubbbblllleeeeBBBBuuuuffffffffeeeerrrr((((3333xxxx)))) VVVVkkkkDDDDoooouuuubbbblllleeeeBBBBuuuuffffffffeeeerrrr((((3333xxxx))))
-
-
-
- ____wwwwiiiiddddtttthhhh
- Dimension _width;
-
-
- The current width of the available drawing area.
-
- ____hhhheeeeiiiigggghhhhtttt
- Dimension _height;
-
-
- The current height of the available drawing area.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEE
-
-
- IIIINNNNHHHHEEEERRRRIIIITTTTEEEEDDDD MMMMEEEEMMMMBBBBEEEERRRR FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNNSSSS
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCoooommmmppppoooonnnneeeennnntttt
- installDestroyHandler(), removeDestroyHandler(), widgetDestroyed(),
- setDefaultResources(), getResources(), callCallbacks(),
- VkComponent(), manage(), unmanage(), baseWidget(), okToQuit(),
- _name, _baseWidget, _w, deleteCallback
-
-
- IIIInnnnhhhheeeerrrriiiitttteeeedddd ffffrrrroooommmm VVVVkkkkCCCCaaaallllllllbbbbaaaacccckkkkOOOObbbbjjjjeeeecccctttt
- callCallbacks(), addCallback(), removeCallback(),
- removeAllCallbacks()
-
-
- KKKKNNNNOOOOWWWWNNNN DDDDEEEERRRRIIIIVVVVEEEEDDDD CCCCLLLLAAAASSSSSSSSEEEESSSS
- VkMeter, VkPie
-
- CCCCLLLLAAAASSSSSSSSEEEESSSS UUUUSSSSEEEEDDDD BBBBYYYY TTTTHHHHIIIISSSS CCCCLLLLAAAASSSSSSSS
- VkApp
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- VkComponent, VkApp
- _V_i_e_w_K_i_t _P_r_o_g_r_a_m_m_e_r'_s _G_u_i_d_e
- _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m, DEC Press, Bob Sheifler and Jim Gettys
- _T_h_e _X _W_i_n_d_o_w _S_y_s_t_e_m _T_o_o_l_k_i_t, DEC Press, Paul Asente and Ralph Swick
- _T_h_e _O_S_F/_M_o_t_i_f _P_r_o_g_r_a_m_m_e_r_s _R_e_f_e_r_e_n_c_e, Prentice Hall, OSF
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 3333
-
-
-
-